﻿<%@ Page Language="C#" AutoEventWireup="true" Codebehind="lowvaluedetail.aspx.cs"
    Inherits="LabMS.Web.Equipment.LowValue.lowvaluedetail" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>查看低值品信息</title>
    <link type="text/css" rel="stylesheet" href="../../style/screen.css" />
    <!--[if lte IE 6]>
    <link type="text/css" rel="stylesheet" href="../../style/ie6.css" />
    <![endif]-->
    <!--[if lte IE 7]>
    <link type="text/css" rel="stylesheet" href="../../style/ie7.css" />
    <![endif]-->

    <script type="text/javascript" src="../../js/Common.js"></script>

    <script type="text/javascript">
    function foo()
   {
    url = "lowvalueedit.aspx?ID=<%=strID %>"; 
    RedirectURL(window,url) 
  }  
    </script>

</head>
<body class="mainBody">
    <form id="form1" runat="server">
        <div class="main">
            <div id="pageInfo" class="clearfix">
                <div class="title">
                    <label>
                        查看低值品</label>
                </div>
            </div>
        </div>
        <div class="main">
            <p>
           <% if (UserType == "mana")
                {%>   
                <input id="lbEdit" type="button" onclick="foo()" class="button" value="修改" />
                <asp:Button ID="tbDelete" runat="server" Text="删除" OnClick="tbDelete_Click" CssClass="button" />
                 <%} %>  
                <input id="lbCancel" type="button" class="button" onclick="RedirectURL(window, 'lowpriview.aspx')"
                    value="返回" />
            </p>
            <div id="规格不能为空">
                <table border="0" cellpadding="4" cellspacing="0">
                    <tr>
                        <td>
                            <label class="itemTitle">
                                低值品编号:</label></td>
                        <td>
                            <asp:Label ID="tbInstrumentNum" runat="server"></asp:Label>
                        </td>
                        <td rowspan="6" colspan="2" align="left">
                            <asp:Image AlternateText="" ID="EquipPhoto" runat="server" Width="100" Height="120" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                分类号码:</label></td>
                        <td>
                            <asp:Label ID="tbKindNum" runat="server"></asp:Label>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                低值品名称:</label></td>
                        <td>
                            <asp:Label ID="tbInstrumentName" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                规格:</label></td>
                        <td>
                            <asp:Label ID="tbStandards" runat="server"></asp:Label>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                型号:</label></td>
                        <td>
                            <asp:Label ID="tbModel" runat="server"></asp:Label>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                国别码:</label></td>
                        <td>
                            <asp:Label ID="tbCountry" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                库存位置:</label></td>
                        <td>
                           <asp:Label ID="tbLocation" runat="server"></asp:Label>
                        </td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                数量:</label></td>
                        <td>
                            <asp:Label ID="tbAmount" runat="server" Enabled="False">1</asp:Label></td>
                        <td>
                            <label class="itemTitle">
                                单价:</label></td>
                        <td>
                            <asp:Label ID="tbUnitPrice" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                出厂编号:</label></td>
                        <td>
                            <asp:Label ID="tbFactoryCode" runat="server"></asp:Label></td>
                        <td>
                            <label class="itemTitle">
                                单据号:</label></td>
                        <td>
                            <asp:Label ID="tbDocuments" runat="server"></asp:Label></td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                单位:</label></td>
                        <td>
                            <asp:DropDownList ID="ddlModle" runat="server">
                            </asp:DropDownList>
                        </td>
                        <td>
                            <label class="itemTitle">
                                来源:</label></td>
                        <td>
                            <asp:DropDownList ID="ddlSource" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                购置日期:</label></td>
                        <td>
                            <asp:Label ID="tbPurchaseDate" runat="server"></asp:Label>
                        </td>
                        <td>
                            <label class="itemTitle">
                                出厂日期:</label></td>
                        <td>
                            <asp:Label ID="tbProductionDate" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                创建日期:</label></td>
                        <td>
                            <asp:Label ID="tbCreatedDate" runat="server" Enabled="False"></asp:Label>
                        </td>
                        <td>
                            <label class="itemTitle">
                                使用方向:</label></td>
                        <td>
                            <asp:DropDownList ID="ddlArrow" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                状态:</label></td>
                        <td>
                            <asp:DropDownList ID="ddlPresentSituation" runat="server">
                                <asp:ListItem Selected="True">在用</asp:ListItem>
                                <asp:ListItem>多余</asp:ListItem>
                                <asp:ListItem>待修</asp:ListItem>
                                <asp:ListItem>待报废</asp:ListItem>
                                <asp:ListItem>降档</asp:ListItem>
                                <asp:ListItem>调入</asp:ListItem>
                                <asp:ListItem>转出</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                        <td>
                            <label class="itemTitle">
                                经费项目:</label></td>
                        <td>
                            <asp:DropDownList ID="ddlFundsSubject" runat="server">
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                仪器负责人:</label></td>
                        <td>
                            <asp:Label ID="tbResponesoblePerson" runat="server"></asp:Label>
                        </td>
                        <td>
                            <label class="itemTitle">
                                联系电话:</label></td>
                        <td>
                            <asp:Label ID="tbContactPhone" runat="server"></asp:Label>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                低值品类别:</label></td>
                        <td>
                            <asp:DropDownList ID="ddlCClass" runat="server">
                            </asp:DropDownList>
                        </td>
                        <td>
                        </td>
                        <td>
                        </td>
                    </tr>
                    <tr>
                        <td>
                            <label class="itemTitle">
                                用途:</label></td>
                        <td colspan="3">
                            <asp:Label ID="tbPurpose" runat="server"></asp:Label></td>
                    </tr>
                </table>
            </div>
        </div>
        <asp:Label ID="lbErr" runat="server" ForeColor="Red" Text="Err" Visible="False"></asp:Label>
         <div style="display: none">
            <asp:TextBox ID="tbLocationCode" runat="server"></asp:TextBox>
        </div> 
    </form>
</body>
</html>
